package com.example.exampleproject.service.impl;

import com.example.exampleproject.entity.UserScoreEntity;
import com.example.exampleproject.mapper.UserScoreMapper;
import com.example.exampleproject.service.UserScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class UserScoreServiceImpl implements UserScoreService {

    @Autowired
    UserScoreMapper userScoreMapper;

    @Override
    public List<UserScoreEntity> getUserScoreList() {

        return userScoreMapper.getUserScoreList();
    }

    @Override
    public List<UserScoreEntity> getUserScoreListById(Integer id) {
        return userScoreMapper.getUserScoreListById(id);
    }
}
